Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

  ArrayExtensions

  CavernAmp

  ChannelExtensions

  ColorUtils

  Complex

  ComplexArray

  FFTCache

  IComparable

  IEquatable

  IEquatable

  Linked

  ListExtensions

  Measurements

  RenderStats

  Resample

  RunningChannelSeparator

  ThreadSafeFFTCache

  Tunneler

  VectorExtensions

  VectorUtils

  WaveformUtils

  Delay(Complex[], float)

  Delay(float[], float)

  Delay(float[], float, FFTCache)

  Delay(float[], int)

  Downmix(float[], float[], int)

  Downmix(float[], int)

  ExtractChannel(float[], float[], int, int)

  Gain(float[], float, int, int)

  Gain(float[], float)

  Gain(float[][], float)

  GetPeak(float[])

  GetPeak(float[], int, int)

  GetPeak(float[], int, int, int)

  GetPeak(float[][])

  GetPeakSigned(float[])

  GetPeakSigned(float[], int, int)

  GetRMS(float[])

  Insert(float[], float[], int, int)

  Insert(float[], float[], float)

  InterlacedToMultichannel(float[], float[][])

  Invert(float[])

  IsMute(this float[])

  IsMute(this float[][])

  Mix(float[], float[])

  Mix(float[], float[], float)

  Mix(float[], float[], int, int, float)

  Mix(float[], int, int, int)

  MultichannelToInterlaced(float[][], long, long)

  Normalize(this float[])

  Normalize(this float[][])

  Split(this float[][], int)

  Subtract(this float[], float[])

  SwapChannels(this float[], int, int, int)

  TrimEnd(ref float[])

  TrimEnd(this float[][])

  TrimStart(ref float[])

  TrimStart(this float[][])

  WindowBase

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class WaveformUtils

Sound processing functions.
VisibilityPublic
Modifiersstatic

Public static functions

void Delay(float[] waveform, int samples)Apply a delay of a given number of on a .
void Delay(float[] signal, float samples)Apply a delay on the even with fraction .
void Delay(float[] signal, float samples, FFTCache cache)Apply a delay on the even with fraction .
void Delay(Complex[] signal, float samples)Apply a delay on the even with fraction .
float[] Downmix(float[] source, int channels)Downmix audio to mono.
void Downmix(float[] from, float[] to, int toChannels)Downmix audio for a lesser channel count with limited knowledge of the target system's channel locations.
void ExtractChannel(float[] from, float[] to, int channel, int channels)Extract a single channel from a multichannel audio stream.
void Gain(float[] target, float value)Multiplies all values in an array.
void Gain(float[][] target, float value)Multiplies all values in a multichannel array.
void Gain(float[] target, float gain, int channel, int channels)Set gain for a channel in a multichannel array.
float GetPeak(float[] target)Get the peak amplitude of a single-channel array.
float GetPeak(float[] target, int from, int to)Get the peak amplitude in a partial audio signal.
float GetPeak(float[] target, int samples, int channel, int channels)Get the peak amplitude of a given channel in a multichannel array.
float GetPeak(float[][] target)Get the peak amplitude of a multichannel signal.
float GetPeakSigned(float[] target)Get the peak amplitude with its sign in a partial audio signal.
float GetPeakSigned(float[] target, int from, int to)Get the peak amplitude with its sign in a partial audio signal.
float GetRMS(float[] target)Get the root mean square amplitude of a single-channel signal.
void Insert(float[] source, float[] destination, float gain)Sets a track to a stream with a set gain.
void Insert(float[] samples, float[] target, int channel, int channels)Sets a channel to a signal in a multichannel waveform.
void InterlacedToMultichannel(float[] source, float[][] target)Convert an interlaced multichannel waveform to separate arrays.
void Invert(float[] target)Invert an audio signal.
bool IsMute(this float[] source)Gets if a signal has no amplitude.
bool IsMute(this float[][] source)Gets if a multichannel signal has no amplitude.
void Mix(float[] source, float[] destination)Mix a track to a mono stream.
void Mix(float[] source, float[] destination, float gain)Mix a track to a mono stream with a given gain.
void Mix(float[] source, float[] destination, int destinationChannel, int destinationChannels, float gain)Mix a track to a stream' given channel with a given gain.
void Mix(float[] source, int sourceChannel, int destinationChannel, int channels)Mix a channel of a stream to one of its other track.
float[] MultichannelToInterlaced(float[][] source, long from, long to)Convert part of a multichannel waveform in different arrays to an interlaced waveform.
void Normalize(this float[] target) Set a signal's peak to 1 (0 dB FS).
void Normalize(this float[][] target) Set a multichannel signal's peak to 1 (0 dB FS).
float[][][] Split(this float[][] source, int blockSize)Split a multichannel array to blocks of a given .
void Subtract(this float[] source, float[] destination)Subtract a track from a stream.
void SwapChannels(this float[] target, int channelA, int channelB, int channels)Swap two channels in an interlaced block of samples.
void TrimEnd(ref float[] target)Remove the 0s from the end of the signal.
void TrimEnd(this float[][] target)Remove the 0s from the end of the multichannel signal.
void TrimStart(ref float[] target)Remove the 0s from the beginning of the signal.
void TrimStart(this float[][] target)Remove the 0s from the beginning of the multichannel signal.